module.exports = {
  '/apis/mgt*': {
    // target: "http://gw-dadp-prod.crcloud.com/",
    // target: 'http://127.0.0.1:8089/', //非单体版网关
    // target: "http://dev-standalone-gateway.dadp-fat.crcloud.com/",//单体版网关
    target: 'http://ripplescloud-gateway.dadp-sit.crcloud.com/', // SIT环境网关
    // target: "http://ripplescloud-mgt.dadp-fat.crcloud.com/",
    // target: "http://ripples.ripples-uat.crcloud.com",
    pathRewrite: { '^/apis': '' },
    secure: false,
    changeOrigin: true
  },
  '/apis/oauth*': {
    // target: "http://gw-dadp-prod.crcloud.com/",
    // target: 'http://127.0.0.1:8089/', //非单体版网关
    // target: "http://dev-standalone-gateway.dadp-fat.crcloud.com/",//单体版网关
    target: 'http://ripplescloud-gateway.dadp-sit.crcloud.com/', // SIT环境网关
    // target: "http://ripplescloud-mgt.dadp-fat.crcloud.com/",
    // target: "http://ripples.ripples-uat.crcloud.com",
    pathRewrite: { '^/apis': '' },
    secure: false,
    changeOrigin: true
  },
  '/apis/*': {
    //target: 'http://dadp-gateway.ai-sit.crcloud.com',
    target:'http://ripplescloud-gateway.dadp-sit.crcloud.com',
    // target: "http://ripples.ripples-uat.crcloud.com",
    // target: "http://10.54.50.40:8888/sassp-service",
    // target:"http://10.54.20.127:8888",
    pathRewrite: { '^/apis': '' },
    secure: false,
    changeOrigin: true
  },
/*  '/local/!*': {
    //target: 'http://dadp-gateway.ai-sit.crcloud.com',
    target:'http://ripplescloud-gateway.dadp-sit.crcloud.com',
    // target: "http://ripples.ripples-uat.crcloud.com",
    // target: 'http://10.54.50.40:8888',
    // target: 'http://10.54.16.64:8888',//唐嘉
    // target: 'http://sassp-service.cras-uat.crc.com.cn',
    pathRewrite: { '^/local': '' },
    secure: false,
    changeOrigin: true
  },
  '/console/!*':{
    //target :"http://dadp-gateway.ai-sit.crcloud.com",
    target:'http://sassp-web.cras-uat.crc.com.cn/',
    // target :"http://ai-sit.crcloud.com",
    // target :"http://dadp-gateway.ai-sit.crcloud.com",
    changeOrigin : true,      //如果设置成true：发送请求头中host会设置成target
    secure: false,
  },*/
}
